package com.qianfeng.smartdevice.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class HumtempEcharts {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private List<Date> times;

    private List<Double> temperatureList;

    private List<Double> humidityList;

    public List<Date> getTimes() {
        return times;
    }

    public List<Double> getTemperatureList() {
        return temperatureList;
    }

    public List<Double> getHumidityList() {
        return humidityList;
    }

    public HumtempEcharts(List<Date> times, List<Double> temperatureList, List<Double> humidityList) {
        this.times = times;
        this.temperatureList = temperatureList;
        this.humidityList = humidityList;
    }
}
